package com.ize.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DoctorCom {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private Long doctorId;  // 关联Doctor对象时建议使用 Doctor doctor;
    private Long userId;    // 关联User对象时建议使用 User user;
    private String image;
    private String content;
    private LocalDateTime createTime;
    private Long userComId;
}
